home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group01a.txt / 000034_icon-group-sender _Fri May 26 08:34:04 2000.msg < prev    next >
Internet Message Format  |  2002-01-03  |  2KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id IAA02191
  4.     for icon-group-addresses; Fri, 26 May 2000 08:33:22 -0700 (MST)
  5. Message-Id: <200005261533.IAA02191@baskerville.CS.Arizona.EDU>
  6. From: "F.G. van DORP" <F.G.van.Dorp@digimedia.nl>
  7. X-Newsgroups: comp.lang.icon
  8. Subject: CODE() and  @/2
  9. X-Newsreader: Forte Agent 1.7/32.534
  10. Date: Fri, 26 May 2000 09:38:12 GMT
  11. X-Complaints-To: abuse@chello.nl
  12. X-Trace: flipper 959333892 212.187.67.243 (Fri, 26 May 2000 11:38:12 MET DST)
  13. To: icon-group@optima.CS.Arizona.EDU
  14. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  15. Status: RO
  16. Content-Length: 866
  17.  
  18.  
  19. Although ICON has PROC() and VARIABLE(), there doesn't seem  to be
  20. a built-in to translate & execute string data as a (more substantial) piece
  21. of code in runtime, hence SNOBOL's CODE().
  22. Is this because of certain implementation features ?
  23.  
  24. Can  somebody please explain the infix @ operator  ?
  25. The closest I can get  is something like:  @'s first argument gets  pushed
  26. onto its second argument's  stack  before the latter is activated  (and  
  27. at  this  point my  mind goes  blank...  OK,  so  the  infix is just  a prefix
  28. @ with &NULL as the first argument, which doesn't help me a lot either).
  29. Its purpose is apparently  to have co-expressions communicate between
  30. themselves (thus enabling  them to gang up against the programmer  ?)
  31.  
  32. Does ICON  provide for local auxiliary variables  other than  within  the
  33. body  of a  named procedure  ?
  34.  
  35. Thanks  a bunch,
  36. Bob.
  37.  
  38.